package com.youlu.campus.entity.VO.req;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * 订单退款操作VO
 */
@Getter
@Setter
public class OrderRefundOptVO implements Serializable {
    /**
     * 订单ID
     */
    private String id;
    /**
     * 退款金额
     */
    private Integer refundFee;

    /**
     * 退款申请
     */
    private String refundDesc;
    /**
     * 退款子订单
     */
    private HashMap<String, Integer> subOrders = new HashMap<>();
    /**
     * 审核状态 0: 无需要审核,1:待审核,2:审核通过,3:审核拒绝
     */
    private Integer verifyStatus;
    /**
     * 用户退款描述
     */
    private String refundComment;
    /**
     * 支付宝账户
     */
    private String alipayAccount;
    /**
     * 退款申请人类型platform:平台,visitor
     */
    private String refundApplyUserType = "platform";
    /**
     * 操作人
     */
    private String optName;
    /**
     * 退款方式,one-line:线上,off-line:线下
     */
    private String refundWay = "one-line";
    /**
     * 退款支付渠道,微信:支付宝
     */
    private String refundPayChannel = "微信";
    /**
     * 商户号ID
     */
    private List<String> merchantIds=new ArrayList<>();

    private String sourcePlatform;
    /**
     * 0 全部退款 1部分退款
     */
    private Integer refundType = 0;
    /**
     * 退款申请平台
     */
    private String refundApplyPlatform;
    /**
     * 退款申请AppId
     */
    private String refundApplyAppId;
}
